package com.yangsir.mysite.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.yangsir.mysite.pojo.Tag;
import org.apache.ibatis.annotations.Insert;

/**
* @author yf
* @description 针对表【tag(标签)】的数据库操作Mapper
* @createDate 2024-06-22 16:55:16
* @Entity generator.pojo.Tag
*/
public interface TagMapper extends BaseMapper<Tag> {
    @Insert("INSERT IGNORE INTO tag VALUES " +
            "(#{id},#{userId},#{type},#{categoryId},#{tagName},#{createTime},#{updateTime},0)")
    void insertTags(Tag tags);
}




